<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="com.google.appengine.api.users.User" %>
<%@ page import="com.google.appengine.api.users.UserService" %>
<%@ page import="java.util.*" %>
<%@ page import="javax.servlet.http.HttpSession" %>
<%@ page import="com.coo1.onlineorder.server.data.MSTADMIN" %>

<html>
  <body>
  <form action="/sign" method="post">
    <div><textarea name="Sender" rows="1" cols="60"></textarea></div>
    <div><textarea name="To" rows="1" cols="60"></textarea></div>
    <div><textarea name="Title" rows="1" cols="60"></textarea></div>
    <div><textarea name="content" rows="5" cols="60"></textarea></div>
    <div><input type="submit" value="Post Greeting" /></div>
  </form>
  <form action="/admin" method="post">
    <div><textarea name="username" rows="1" cols="60"></textarea></div>
    <div><textarea name="password" rows="1" cols="60"></textarea></div>
    <div><input type="submit" value="createadmin" /></div>
    <p><%
    	//HashTable htUser = HashTable(session.getAttribute("USERLIST"));

	%></p>
    <p>結果: <%=(String)session.getAttribute("USERNAME") %>,<%=(String)session.getAttribute("PASSWORD") %></p>
  </form>
  <form action="/getadmin" method="post">
  <div><textarea name="username" rows="1" cols="60"></textarea></div>
  <div><input type="submit" value="searchadmin" /></div>
  </form>

  <form name="form1" method="post" action="/createUser">
    <p>userID
      <input type="text" name="userID" id="userID">
    mail
      <input type="text" name="mail" id="mail">
</p>
    <p>
    pass
      <input type="text" name="passwd" id="passwd">
    phone
      <input type="text" name="phone" id="phone">
</p>
    <p>username
      <input type="text" name="username" id="username">
birthday
      <input type="text" name="birthday" id="birthday">
</p>
    <p>realname
      <input type="text" name="realname" id="realname">
      
birthday
<input type="radio" name="radio" id="sex" value="male">
male
    <input type="radio" name="radio" id="sex2" value="female">
female </p>
    <p>address
      <input type="text" name="address" id="address">
</p>
    <p>
      <input type="submit" value="createuser" />
    </p>
  </form>
</body>
</html>
